package com.stone.db.jdbc.service;

import com.stone.db.jdbc.entity.DriverRecord;

import java.util.Date;
import java.util.List;

/**
 * <p>Created with IntelliJ IDEA. </p>
 * <p>User: Stony </p>
 * <p>Date: 2016/6/27 </p>
 * <p>Time: 18:06 </p>
 * <p>Version: 1.0 </p>
 */
public interface DriverRecordService {

    List<DriverRecord> queryAll();

    DriverRecord queryRecordById(int id);

    DriverRecord save(DriverRecord record);

    DriverRecord update(DriverRecord record);

    int delete(int id);

    DriverRecord queryRecordByDate(Date date);

}
